
package com.cmc.dao;

import java.util.List;

import com.cmc.dao.Dao;
import com.cmc.model.WorkOverTime;

public interface WorkOverTimeDao extends Dao {

    /**
     * Retrieves all of the workOverTimes
     */
    public List getWorkOverTimes(WorkOverTime workOverTime);

    /**
     * Gets workOverTime's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the workOverTime's id
     * @return workOverTime populated workOverTime object
     */
    public WorkOverTime getWorkOverTime(final Long id);

    /**
     * Saves a workOverTime's information
     * @param workOverTime the object to be saved
     */    
    public void saveWorkOverTime(WorkOverTime workOverTime);

    /**
     * Removes a workOverTime from the database by id
     * @param id the workOverTime's id
     */
    public void removeWorkOverTime(final Long id);
}

